﻿using AspNetCoreMvc.Model;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;

namespace AspNetCoreMvc.Controllers
{
    public class OrderController : Controller
    {
        public IActionResult Index()
        {
            User user = new User();
            user.Id = 1;
            user.Name = "Test";
            user.Age = "xxx";
            return View(user);
            //return Content("<h1>xxx</h1>");
        }
    }
}
